﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<PagedList<kysec.RAL.EFToMySql.tb_news>>" %>
<%@ Import Namespace="Webdiyer.WebControls.Mvc"  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>InfoList</title>
    <%string type = ViewData["type"].ToString(); %>
    <style type="text/css">
.mvcPager{font-size:9pt}
.mvcPager input[type=text]{width:28px}
.mvcPager .gotoPage{float:right}
</style>

    <style type="text/css">

#table {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}

</style>

    <script src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/js/table.js") %>" type="text/javascript"></script>
    <script src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Scripts/jquery-1.4.1.min.js") %>" type="text/javascript"></script>   
    <script  src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Scripts/MicrosoftAjax.js") %>" type="text/javascript"></script>
    <script  src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Scripts/MicrosoftMvcAjax.js") %>" type="text/javascript"></script>
    <link href="../../Content/back/css/skin.css" rel="stylesheet" type="text/css" />

  
</head>
<body  >
<div id="table" style="margin:0px;">  <%string type = ViewData["type"].ToString(); %>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_leftbg.gif") %>"><img src="<%=Url.Content

(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/left-top-right.gif") %>" width="17" height="29" /></td>
    <td width="100%" height="29" valign="top" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/content-bg.gif") %>"><table width="100%" 

height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">新闻管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_rightbg.gif") %>"><img src="<%=Url.Content

(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/nav-right-bg.gif") %>" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_leftbg.gif") %>">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt"><span>当前位置：<% if (type.Equals("0"))
                                        { %>行业资讯列表<%}
                                        else { %>公司资讯列表<%} %></span><input type="hidden" name="type" id="type" value="<%=ViewData["type"] %>" /></td>
          </tr>
          <tr>
            <td height="20"><div><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#97b9f0">
              <%--<tr>
                <td align="right" height="28px" width="60%"><span style="padding-bottom:10px;">根据标题查询：<input type="text" id="username" name="username" size="20" 

style="border:0px 0px 1px 0px; border-bottom:solid 1px green;" /></span></td>
                <td><a href="javascript:;" ><img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL +"/Content/back/images/search.gif")%>" style="width:60px; height:20px; margin

-left:20px; border:0px;" onclick="Search();"/></a></td>
              </tr>--%>
            </table></div></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr><td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="6%" height="19" valign="bottom"><div align="center"><img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL 

+"/Content/back/images/user-info.gif")%>" width="14" height="14" /></div></td>
                                    <td width="94%" valign="bottom"><span class="STYLE1">
                                     <%                                         
                                         if (type.Equals("0"))
                                        { %>行业新闻列表<%}
                                        else { %>公司资讯列表<%} %></span></td>
                                  </tr>
                                </table></td>
                                <td><div align="right"><span class="STYLE1"><%--<select name="chooseDel" id="chooseDel" onchange="changeShow();" style="border:0px;">
                                <option>选择显示</option><option value="0">已删除</option><option value="1">未删除</option>
                                </select>--%>
                                  <img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL +"/Content/back/images/add.gif")%>" width="10" height="10" />
                                  <a href="<%=kysec.CR.MyUrl.WebData.WEBURL %>/News/AddNews?type=<%:type %>" style="color:Green;">新增新闻</a> </span><span class="STYLE1"> 

&nbsp;</span></div></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td><div id="page"><%Html.RenderPartial("UCNewsList", Model); %></div></td>
                      </tr></table></td></tr>
            </table></td></tr>          
        </table></td></tr>
    </table></td>
    <td background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_rightbg.gif") %>">&nbsp;</td>
  </tr>

  <tr>
    <td valign="middle" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_leftbg.gif") %>"><img src="<%=Url.Content

(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/buttom_left2.gif") %>" width="17" height="17" /></td>
      <td  valign="top" background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/buttom_bgs.gif") %>"><img src="<%=Url.Content

(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/buttom_bgs.gif") %>" width="17" height="17" /></td>
    <td background="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + "/Content/back/images/mail_rightbg.gif") %>"><img src="<%=Url.Content(kysec.CR.MyUrl.WebData.WEBURL + 

"/Content/back/images/buttom_right2.gif") %>" width="16" height="17" /></td>
  </tr>
</table>

</div>
</body>
</html>
